package com.greensecurity.sim.service.impl;

import com.greensecurity.sim.entity.PhotoDistinguish;
import com.greensecurity.sim.repository.PhotoDistinguishRepostitory;
import com.greensecurity.sim.service.PhotoDistinguishService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PhotoDistinguishServiceImpl implements PhotoDistinguishService {
    @Resource
    private PhotoDistinguishRepostitory photoDistinguishRepostitory;

    @Override
    public void save(PhotoDistinguish photoDistinguish){
        photoDistinguishRepostitory.save(photoDistinguish);
    }
}
